/*
 * @Author: your name
 * @Date: 2022-03-30 20:48:41
 * @LastEditTime: 2022-03-30 21:20:37
 * @LastEditors: Please set LastEditors
 * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 * @FilePath: \edu-web\src\service\getData.js
 */
// eslint-disable-next-line no-unused-vars
import { post,get} from '@/service/request'

/**
 * 获取导航数据
 */
 export const getNav = () => get('/publics/nav',{
});
/**
 * 获取首页数据
 */
 export const getHomeData = () => get('publics/index',{
});
/**
 * 获取每项数据
 */
 export const getCateData = (cate_id,page) => get('publics/cate',{
    cate_id:cate_id,
    page: page
});
/**
 * 获取详情数据
 */
 export const getContentData = (id) => get('publics/content',{
    id:id
});
/**
 * 获取实验室信息
 */
 export const getRoomList = () => get('publics/room',{});
/**
 * 预约
 */
 export const goAppointment = (stime,etime,roomid,name,contact) => get('publics/appointment',{
    stime,
    etime,
    roomid,
    name,
    contact
 });
/**
 * 超链
 */
 export const getSuperlink = () => get('publics/link',{});











